package com.zdkj.subway.st.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zdkj.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 黑名单管理
 *
 * @author chenbo
 * @date 2020-06-10 10:21:03
 */
@Data
@TableName("sw_tk_black")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "公务票黑名单管理")
public class SwTkBlack extends BaseEntity<SwTkBlack> {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelIgnore
    @TableId
    @ApiModelProperty(value = "ID")
    private Integer id;
    /**
     * 主表关联ID
     */
    @ApiModelProperty(value="主表关联ID")
    private Integer relationId;
    /**
     * 卡号
     */
    @ExcelProperty(value = "卡号", index = 0)
    @ApiModelProperty(value = "卡号")
    private String cardNum;
    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名", index = 1)
    @ApiModelProperty(value = "姓名")
    private String name;
    /**
     * 所属单位
     */
    @ExcelProperty(value = "所属单位", index = 2)
    @ApiModelProperty(value = "所属单位")
    private String belongUnit;
    /**
     * 拉黑时间
     */
    @ExcelProperty(value = "拉黑时间", index = 3)
    @ApiModelProperty(value = "拉黑时间")
    private LocalDateTime blackTime;
    /**
     * 票卡类型
     */
    @ExcelProperty(value = "票卡类型", index = 4)
    @ApiModelProperty(value = "票卡类型")
    private String ticketType;
    /**
     * 提交时间
     */
    @ExcelProperty(value = "提交时间", index = 5)
    @ApiModelProperty(value = "提交时间")
    private LocalDateTime submitTime;
    /**
     * 拉黑状态
     */
    @ExcelProperty(value = "拉黑状态", index = 6)
    @ApiModelProperty(value = "拉黑状态0:未拉黑，1:已拉黑")
    private String blackStatus;
    /**
     * 办理状态
     */
    @ExcelProperty(value = "办理状态", index = 7)
    @ApiModelProperty(value = "办理状态0:未提交,1:待审批,2:审批通过,3:审批不通过")
    private String handleStatus;
    /**
     * 审批时间
     */
    @ExcelProperty(value = "审批时间", index = 8)
    @ApiModelProperty(value = "审批时间")
    private LocalDateTime auditTime;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注", index = 9)
    @ApiModelProperty(value = "备注")
    private String remark;
}
